﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<iss.sg4210.se18.team6s.jass.DAL.Advertisement>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Details</h2>
    <fieldset>
        <legend>Fields</legend>
        <div class="display-label">
            Title</div>
        <div class="display-field">
            <%: Model.Title %></div>
        <div class="display-label">
            Description</div>
        <div class="display-field">
            <%: Model.Description %></div>
        <div class="display-label">
            Experience In Years</div>
        <div class="display-field">
            <%: Model.ExperienceInYears %></div>
        <div class="display-label">
            Salary From</div>
        <div class="display-field">
            <%: Model.SalaryFrom %></div>
        <div class="display-label">
            Salary To</div>
        <div class="display-field">
            <%: Model.SalaryTo %></div>
        <div class="display-label">
            Start Date</div>
        <div class="display-field">
            <%: String.Format("{0:g}", Model.StartDate) %></div>
        <div class="display-label">
            Location</div>
        <div class="display-field">
            <%: Model.GeoArea.Name %></div>
        <div class="display-label">
            Company</div>
        <div class="display-field">
            <%: Model.Company.Name %></div>
        <div class="display-label">
            Advertisement Type</div>
        <div class="display-field">
            <%: Model.AdvertisementType.Type %></div>
    </fieldset>
    <p>
        <%: Html.ActionLink("Apply", "Respond", "Response", new { id = Model.Id }, new object { })%>
        |
        <%: Html.ActionLink("Back to List", "Search", "Search", new { }, new object { })%>
    </p>
</asp:Content>
